package com.movie.demo.service.impl;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.movie.demo.mapper.SessionMapper;
import com.movie.demo.pojo.Session;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class SessionService extends ServiceImpl<SessionMapper, Session> implements com.movie.demo.service.SessionService {

    @Override
    public List<Session> selectSession() {
        List<Session> list=this.selectList(new EntityWrapper<Session>());
        return list;
    }
}
